﻿// <copyright file="IExporter.cs" company="Gravity Age Studios">
// Code released under the MIT license (see License.txt).
// </copyright>
// <author>Vicente Cartas Espinel</author>
// <email>vicente.cartas@gmail.com</email>
namespace LightSwitchApplication.Export
{
    using System.IO;
    using Microsoft.LightSwitch.Framework.Client;

    public interface IExporter<T> where T : class
    {
        void WriteHeaders(StreamWriter stream);
        void ExportData(StreamWriter stream, VisualCollection<T> collection);
    }
}
